package edu.ncst.baseweb.dao.equ;

import edu.ncst.baseweb.common.RequestPage;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "equ_class")
public class EquClass extends RequestPage {
    @TableId
    private Integer id;

    @TableField(value = "name")
    private String name;
    //设备编码
    @TableField(value = "class_code")
    private String classCode;
    //名称
    @TableField(value = "num")
    private Integer num;
    //备注
    @TableField(value = "text")
    private String text;


    public static final String COL_ID = "id";
    //类型名称
    public static final String COL_NAME = "name";
    //类型编码
    public static final String COL_CODE = "class_code";
    //类型数量
    public static final String COL_NUM = "num";
}
